<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'province-form',
    'enableClientValidation' => true,
        ));
?>
<table class="form" style="width: 100%">   
    <tr>        
        <td class="label required"><?php echo $form->labelEx($model, 'province_name'); ?></td>
        <td class="input">
            <?php            
                echo $form->textField($model, 'province_name', array('style' => 'width:230px'));
            ?>
            <?php echo $form->error($model, 'province_name'); ?>
        </td>
    </tr>
    <tr>        
        <td class="label"><?php echo $form->labelEx($model, 'name_jp'); ?></td>
        <td class="input">
            <?php            
                echo $form->textField($model, 'name_jp', array('style' => 'width:230px'));
            ?>
            <?php echo $form->error($model, 'name_jp'); ?>
        </td>
    </tr>
    <tr>
        <td class="label required"><?php echo $form->labelEx($model, 'region_id'); ?></td>
        <td class="input" >            
            <?php
            echo $form->dropDownList($model, 'region_id', Region::model()->getChtmlLanguage(), array('style' => 'width:280px', 'empty' => t('MSG_FIRST_ITEM_REGION', 'messages')));
            echo $form->error($model, 'region_id');
            ?>
        </td>
    </tr>
    <tr>
        <td colspan="2" class="cbutton">
<?php echo Html::buttonConfirm(t('BTN_SAVE'), 'statusConfirmed'); ?>
<?php echo Html::buttonConfirm(t('BTN_CANCEL'), 'statusCanceled', 'cancel'); ?>
        </td>
    </tr>
</table>    
<script type="text/javascript">LGCMS.addTooltip();</script>
<?php $this->endWidget(); ?>
